<template>
  <div>
      <ul>
          <li>1</li>
          <li>2</li>
          <li>3</li>
          <li>4</li>
      </ul>
      <div @click="clickHandle($event)">{{msg}}</div>
  </div>
</template>
<style scoped>
ul{
    background-color: red;
}
</style>
<script>
    export default{
        name:'FirstPage',
        data(){
            return {
                msg:'{{这是测试的数据}}'
            }
        },
        props:[],
        created(){

        },
        mounted(){
            
        },
        methods:{
            clickHandle(e){
                console.log(e);
                this.$router.go(-1);
            }
        }
    }
</script>
